package practice05;

public class Worker extends Person {
    private String name;
    private int age;

    public String introduce() {
        return super.introduce() + " I am a Worker. I have a job.";
    }

    public Worker(String name, int age) {
        super(name, age);
    }

    @Override
    public String getName() {
        return super.getName();
    }


    @Override
    public int getAge() {
        return super.getAge();
    }


}
